package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党员材料模板对象 party_material_template
 * 
 * @author ruoyi
 * @date 2025-10-19
 */
public class PartyMaterialTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板ID */
    private Long templateId;

    /** 材料类型（application:入党申请书，ideological:思想汇报，political_review:政审材料，training:培训证书，volunteer:入党志愿书，summary:转正总结等） */
    @Excel(name = "材料类型", readConverterExp = "a=pplication:入党申请书，ideological:思想汇报，political_review:政审材料，training:培训证书，volunteer:入党志愿书，summary:转正总结等")
    private String materialType;

    /** 材料名称 */
    @Excel(name = "材料名称")
    private String materialName;

    /** 模板文件URL */
    @Excel(name = "模板文件URL")
    private String templateUrl;

    /** 材料说明 */
    @Excel(name = "材料说明")
    private String materialDesc;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0存在 2删除） */
    private String delFlag;

    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }

    public void setMaterialType(String materialType) 
    {
        this.materialType = materialType;
    }

    public String getMaterialType() 
    {
        return materialType;
    }

    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }

    public void setTemplateUrl(String templateUrl) 
    {
        this.templateUrl = templateUrl;
    }

    public String getTemplateUrl() 
    {
        return templateUrl;
    }

    public void setMaterialDesc(String materialDesc) 
    {
        this.materialDesc = materialDesc;
    }

    public String getMaterialDesc() 
    {
        return materialDesc;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templateId", getTemplateId())
            .append("materialType", getMaterialType())
            .append("materialName", getMaterialName())
            .append("templateUrl", getTemplateUrl())
            .append("materialDesc", getMaterialDesc())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
